﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PSI.Helper {
    public class Result {
        [JsonProperty("success")]
        public bool Success { get; set; }

        [JsonProperty("msg")]
        public string Messgae { get; set; }

        /// <summary>
        /// 用来返回额外的数据，例如常用来返回新增记录的Id
        /// </summary>
        [JsonProperty("id")]
        public string Id { get; set; }

        /// <summary>
        /// 用来返回表单自动生成的单号
        /// </summary>
        [JsonProperty("autoNumber")]
        public string AutoNumber { get; set; }
    }
}